﻿using System;
using System.Runtime.Serialization;

namespace Sustainalytics.FTPReport.BusinessLogic
{
    class FTPReportGenerationException :  Exception
    {
        public string Errors { get; set; }
         public FTPReportGenerationException()
        {
        }

        public FTPReportGenerationException(string message) : base(message)
        {
            this.Errors = message;
        }

        public FTPReportGenerationException(string message, Exception inner) : base(message, inner)
        {
            this.Errors = message;
        }

        protected FTPReportGenerationException(
            SerializationInfo info,
            StreamingContext context) : base(info, context)
        {
        }
    }
}
